<script type="text/javascript">window.focus();</script>
<div id="login-main">
  <h3>Please Login</h3>
  <div id="login-contents">
    <% form_tag do -%>
      <div id="login-labels">
        <label for="login">Login ID</label>
        <label for="password">Password</label>
      </div>
      <div id="login-fields">
        <%= text_field_tag(:login, params[:login], :class => "input-box") %>
        <%= password_field_tag(:password, params[:password], :class => "input-box") %>
      </div>
      <div id="login-buttons">
  	    <%= submit_tag "Sign In" , :class => "submit" %>
      </div>
      <div style="margin-bottom:12px;"><%= link_to 'Forgot my password', :controller => 'users', :action => 'forgot_password' %></div>
      <div><%= link_to 'Register', :controller => 'users', :action => 'signup' %></div>
      <div id="login-remember"><%= check_box :remember_me, :attribute  %> Remember Me</div>
    <% end -%>
  </div>
</div>